#!/bin/sh
set -e

export LD_LIBRARY_PATH=/usr/lib:/lib64:/workspace/lib:$LD_LIBRARY_PATH
gdbserver :2345 /workspace/bin/main

# gdb-multiarch build/bin/main
# set architecture aarch64
# target remote 127.0.0.1:2345